/**
 * 
 */
package three_star_craft.gui;

import java.awt.BorderLayout;
import java.awt.Frame;

import javax.swing.JDialog;
import javax.swing.JProgressBar;

/**
 * @author w.antosiewic
 *
 */
public class ConnectingDialog extends JDialog
{
    public ConnectingDialog(Frame owner)
    {
        super(owner, "Connecting");
        JProgressBar pb = new JProgressBar();
        pb.setSize(150, 30);
        pb.setIndeterminate(true);
        this.add(pb, BorderLayout.CENTER);
        this.setSize(200, 50);
        this.setLocationRelativeTo(owner);
    }
}
